hackerrank concatenate an array with itself problem solution

visit shbcf.ru